package java_oop_chapter2;

public class IT {


		String name;
		int age=18;
		String techDir;
		int workOfYear;
		
		public void ageLimit() {
			if(age < 18) {
				System.out.println("invalid");
		}
			
		}
		
		
		public void working(String organization,String position) {
			if(organization.equals("labor") && position.equals("manager")) {
				System.out.printf(name,age,techDir,workOfYear);
			}
			
		}
	

}
